Optimal. Leaf size=43 \[ -\frac {(b c-a d) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b}}-\frac {c}{a x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {453, 205} \[ -\frac {(b c-a d) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b}}-\frac {c}{a x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 453
Rubi steps
\begin {align*} \int \frac {c+d x^2}{x^2 \left (a+b x^2\right )} \, dx &=-\frac {c}{a x}-\frac {(b c-a d) \int \frac {1}{a+b x^2} \, dx}{a}\\ &=-\frac {c}{a x}-\frac {(b c-a d) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 42, normalized size = 0.98 \[ \frac {(a d-b c) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{3/2} \sqrt {b}}-\frac {c}{a x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 105, normalized size = 2.44 \[ \left [\frac {\sqrt {-a b} {\left (b c - a d\right )} x \log \left (\frac {b x^{2} - 2 \, \sqrt {-a b} x - a}{b x^{2} + a}\right ) - 2 \, a b c}{2 \, a^{2} b x}, -\frac {\sqrt {a b} {\left (b c - a d\right )} x \arctan \left (\frac {\sqrt {a b} x}{a}\right ) + a b c}{a^{2} b x}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.27, size = 37, normalized size = 0.86 \[ -\frac {{\left (b c - a d\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a} - \frac {c}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 48, normalized size = 1.12 \[ -\frac {b c \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b}\, a}+\frac {d \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b}}-\frac {c}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.46, size = 37, normalized size = 0.86 \[ -\frac {{\left (b c - a d\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a} - \frac {c}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 34, normalized size = 0.79 \[ \frac {\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )\,\left (a\,d-b\,c\right )}{a^{3/2}\,\sqrt {b}}-\frac {c}{a\,x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.33, size = 82, normalized size = 1.91 \[ - \frac {\sqrt {- \frac {1}{a^{3} b}} \left (a d - b c\right ) \log {\left (- a^{2} \sqrt {- \frac {1}{a^{3} b}} + x \right )}}{2} + \frac {\sqrt {- \frac {1}{a^{3} b}} \left (a d - b c\right ) \log {\left (a^{2} \sqrt {- \frac {1}{a^{3} b}} + x \right )}}{2} - \frac {c}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________